﻿using MrPP.SocketSystem;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MrPP.SerriedCabinet
{
	public class RequestClose : Request
	{

		byte[] areas_ = null;
		public RequestClose(byte[] areas)
		{
			areas_ = areas;
		}
		public override short getCommand()
		{
			var bytes = new byte[] { 0xA0, 0x02 };
			return BitConverter.ToInt16(bytes, 0);
		}



		public override void serialize(DataStream writer)
		{
			base.serialize(writer);
			writer.WriteRaw(new byte[] { 0x01, 0x00, 0x01 });
		}
	}
}